package bean;


public class Wife {

  private int wifeid;
  private String wifename;
  private Husband husband;

  @Override
  public String toString() {
    return "Wife{" +
            "wifeid=" + wifeid +
            ", wifename='" + wifename + '\'' +
            ", husband=" + husband +
            '}';
  }

  public Husband getHusband() {
    return husband;
  }

  public void setHusband(Husband husband) {
    this.husband = husband;
  }

  public long getWifeid() {
    return wifeid;
  }

  public void setWifeid(int wifeid) {
    this.wifeid = wifeid;
  }


  public String getWifename() {
    return wifename;
  }

  public void setWifename(String wifename) {
    this.wifename = wifename;
  }

}
